package com.bidevalution.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.bidevalution.dao.entity.BeEvalutionExpert;

public interface BeEvalutionExpertMapper {
    int deleteByPrimaryKey(String seqId);

    int insert(BeEvalutionExpert record);

    int insertSelective(BeEvalutionExpert record);

    BeEvalutionExpert selectByPrimaryKey(String seqId);

    int updateByPrimaryKeySelective(BeEvalutionExpert record);

    int updateByPrimaryKey(BeEvalutionExpert record);
    // 批量插入
   	int bathInsert(List<BeEvalutionExpert> records);

   	// 根据环节id和用户登录id
   	int deleteExpertSubmitList(@Param("sectionStepId") String sectionStepId,@Param("expertId")String expertId, @Param("submitCode") String submitCode, @Param("rowKey") String rowKey);
   	
   	void deleteBySectionId(String sectionId);

    /**
     * 软删除专家评审数据
     * @param record
     * @return
     */
    int updateStatusByCode(BeEvalutionExpert record);

    int seclectCount(@Param("sectionStepId") String sectionStepId,@Param("layoutCode") String layoutCode);
    
}